/* 
 * File:   Customer.h
 * Author: abhi
 *
 * Created on February 9, 2012, 12:23 PM
 */

#ifndef CUSTOMER_H
#define	CUSTOMER_H

#ifdef	__cplusplus
extern "C" {
#endif
    
    int CustomerCount;

    typedef struct customer_t {
        int id;
        char* firstName;
        char* lastName;
        char* contactNumber;
    } Customer;

    Customer* getCustomerWithID(Customer** customerArr, int customerID);
    
    FILE* createCustomerFile(void);
    int removeCustomerFile(FILE* fp);

#ifdef	__cplusplus
}
#endif

#endif	/* CUSTOMER_H */

